<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>{% block title %}{% endblock %}</title>
    <link rel="stylesheet" type="text/css" href="/media/style.css" />
    <script type="text/javascript" src="/media/jquery.js"></script>
    <script type="text/javascript" src="/media/jquery.field.js"></script>
    <script type="text/javascript" src="/media/thickbox.js"></script>
<style type="text/css">
body { 
     color: #efd; 
     background: #453; 
     padding: 0 5em; 
     margin: 0
  }
h1 { 
    padding: 2em 1em; 
	background: #675
	}
h2 { 
    color: #bf8; 
	border-top: 1px dotted #fff; 
	margin-top: 2em }
p { margin: 1em 0 }
</style>	
</head>
<body>
<script type="text/javascript">


$(function(){
    $('a.select_all_text').click(function(){
        $('textarea.code_plain').select();
        return false;
    });
});

$(function(){
    $('a.new-window').click(function(){
        window.open(this.href);
        return false;
    });
});
</script>
    <div class="menu">
        <div class="menuleft">
                <a href="/">新建</a>
		<a href="/latest">最新</a>
		<a href="/news" class="new">新闻</a>
                <a href="/about">关于</a>
                <a href="/bug">报告错误 / 提出要求</a>
        </div>
        <div class="menuright">
                <form action="/search" method="get">
                    <div>
                        <input type="text" name="q" id="id_query" value="{{query|escape}}" />
                        <input type="submit" id="id_search" value="Search" />
                    </div>
                </form>
        </div>
    </div>
    <div class="center">
        <div class="content">
    {% block center %}{% endblock %}
        </div>
    </div>
    <div class="footer">
        <a href="http://incollo.com/">Incollo.com</a>, powered by <a href="http://bd-things.net/projects/bd-incollo/">BD-incollo</a>.
        For more information, see the <a href="/about">about page</a> and <a href="http://bd-things.net">bodom_lx blog</a>
    </div>
</body>
</html>
